package com.un10.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.un10.entity.Rotationchart;
import com.un10.mapper.RotationchartMapper;
import com.un10.service.RotaService;

@Service
public class RotaServiceImpl implements RotaService{
@Autowired
private RotationchartMapper rotMapper;
	@Override
	public int getCount() {
		
		return rotMapper.getCount();
	}

	@Override
	public List<Rotationchart> findAllRot(int page, int limit,String rotName) {
		// TODO Auto-generated method stub
		return rotMapper.getAllRot(page, limit,rotName);
	}

	@Override
	public Integer findRotAdd(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Integer findRotUpdate(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Integer findRotDelete(int rotID) {
		// TODO Auto-generated method stub
		return null;
	}
	
	
	

}
